.console {
  height: 100%;
  overflow: auto;
  position: relative;

  &-top {
    position: relative;
    color: #ffffff;

    &::before {
      position: absolute;
      content: '';
      width: 100%;
      height: calc(100% + 170px);
      background: linear-gradient(180deg, #1c1d22 0%, #2f3037 100%);
    }

    .time {
      position: relative;
      padding: 24px;
      color: #ffffff;
      img {
        width: 20px;
      }
    }
    .risks {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: stretch;
      padding: 0 24px;

      .summary {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 16px;
        background: #26272d;
        border-radius: 4px;
        border: 1px solid #191a20;

        .bg {
          position: absolute;
          left: 0;
          right: 0;
          bottom: 0;
          width: 100%;
          z-index: 0;
        }

        .count .value,
        .safe-desc {
          position: relative;
          z-index: 1;
          text-align: center;
        }
        .count .value {
          font-size: 48px;
          font-weight: 600;
        }
        .safe-desc {
          font-size: 24px;
          font-weight: 600;
        }
        .count-desc {
          position: relative;
          z-index: 1;
          text-align: center;
        }
      }
      .risk-cards {
        flex: 1;
        padding: 32px 40px 8px 40px;
        margin-left: 24px;
        display: flex;
        // flex-wrap: wrap;
        background: #26272d;
        border-radius: 4px;
        border: 1px solid #1f2128;
        .risk-card {
          flex: 1;
          display: flex;
          flex-direction: column;
          color: #f9f9f9;

          .item {
            display: flex;
            flex-direction: column;
            padding: 0 24px 24px 0;
          }
          .value {
            font-size: 24px;
          }
        }
      }
      .download-all {
        flex: 0 0 150px;
        display: flex;
        flex-direction: column;
        margin-left: 24px;
        background: #26272d;
        border-radius: 4px;
        border: 1px solid #1f2128;

        img {
          flex: 1;
          margin: 0 12px;
        }
      }
    }
  }

  .color-bolcks {
    display: flex;
    i {
      display: inline-block;
      width: 46px;
      height: 16px;
      background-color: #cccccc;
      text-align: center;
      color: #ffffff;
      cursor: pointer;
      font-size: 12px;
      font-style: normal;

      &:first-child {
        border-radius: 8px 0 0 8px;
      }
      &:last-child {
        border-radius: 0 8px 8px 0;
      }
    }
  }

  .list-cards {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: 24px;

    .list-card {
      flex: 0 0 calc(50% - 12px);
      margin-bottom: 24px;

      &:nth-child(2n) {
        margin-left: 24px;
      }
      // &:last-child {
      //   flex: 0 0 100%;
      // }
    }
    .flex-all {
      flex: 0 0 100%;
    }
  }
}
